<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of rubriqueController
 *
 * @author didile
 */
class RubriqueController {   
	
	public function __construct() {
		
	}

	public function load() {
		
	}
	
	public function __toString(){
		return '';
	
	}

        public function action_ajoutRubrique($libelle){           
                $new_rubrique = new Rubrique();
                $new_rubrique->addRubrique($libelle);                        
        }
        
        public function action_deleteRubrique($id){
                   Rubrique::deleteRubrique($id);                                  
        }
	
}

?>
